import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
import Home from './home'
import PersonSpace from './personspace'
import JobSpace from './jobspace'
import Community from './community'
import Tools from './tools'
import Other from './other'
import Center from './center'
import Common from './common'

const routes: Array<RouteRecordRaw> = [
 ...Home,
 ...PersonSpace,
 ...JobSpace,
 ...Community,
 ...Tools,
 ...Other,
 ...Center,
 ...Common
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;
